﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;

namespace AlarmManagePlatform.Model
{
    public class SystemEnum
    {
        public enum DGVType : int
        {
            /// <summary>
            /// 报警器详细信息
            /// </summary>
            [Description("报警器详细信息")]
            AlarmDetailType,

            /// <summary>
            /// 报警器简略信息
            /// </summary>
            [Description("报警器简略信息")]
            AlarmSimpleType,

            /// <summary>
            /// 报警器简略信息
            /// </summary>
            [Description("报警器简略信息")]
            AlarmSSType,

            /// <summary>
            /// 任务信息
            /// </summary>
            [Description("任务信息")]
            TaskInfo,

            /// <summary>
            /// 检测数据_详细
            /// </summary>
            [Description("检测数据_详细")]
            CheckedInstrumentDetail,

            /// <summary>
            /// 送检单位
            /// </summary>
            [Description("送检单位")]
            SubmitUnit,

            /// <summary>
            /// 报表信息
            /// </summary>
            [Description("报表信息")]
            ReportStatisticsInfo,

            /// <summary>
            /// 人员信息
            /// </summary>
            [Description("人员信息")]
            UserInfo,

            /// <summary>
            /// 采集终端
            /// </summary>
            [Description("采集终端")]
            CollectTerminal
        }

        /// <summary>
        /// 任务状态
        /// </summary>
        public enum TaskStatus : int
        {
            /// <summary>
            /// 完成
            /// </summary>
            [Description("完成")]
            Finish = 0,
            /// <summary>
            /// 未开始
            /// </summary>
            [Description("未开始")]
            NotStarted = 1,
            /// <summary>
            /// 进行中
            /// </summary>
            [Description("进行中")]
            Underway = 2,
        }

        /// <summary>
        /// 气体检测项目
        /// </summary>
        public enum VerificationItem
        {
            /// <summary>
            /// 示值误差
            /// </summary>
            [Description("示值误差")]
            IndicationError = 0,

            /// <summary>
            /// 重复性
            /// </summary>
            [Description("重复性")]
            Repeatability = 1,
            /// <summary>
            /// 响应时间
            /// </summary>
            [Description("响应时间")]
            ResponseTime = 2,
            /// <summary>
            /// 声音报警
            /// </summary>
            [Description("声音报警")]
            SoundAlarm = 3,
            /// <summary>
            /// 光报警
            /// </summary>
            [Description("光报警")]
            LightAlarm = 4,
            /// <summary>
            /// 报警误差
            /// </summary>
            [Description("报警误差")]
            AlarmError
        }

        public enum ImageType : int
        {

            /// <summary>
            /// 送检单位
            /// </summary>
            [Description("送检单位")]
            SubmitUnit = 1,

            /// <summary>
            /// 报警器
            /// </summary>
            [Description("报警器")]
            Alarminstrument = 2
        }

        public enum ComBoxType
        {

            /// <summary>
            /// 送检单位
            /// </summary>
            [Description("送检单位")]
            SubmitUnit,

            /// <summary>
            /// 人员信息
            /// </summary>
            [Description("人员信息")]
            UserInfo,

            /// <summary>
            /// 气体类型
            /// </summary>
            [Description("气体类型")]
            GasType,

            /// <summary>
            /// 采样方式
            /// </summary>
            [Description("采样方式")]
            SampleModel,

            /// <summary>
            /// 用户类型
            /// </summary>
            [Description("用户类型")]
            Role,
        }
    }
}
